package com.cyl.manager.oms.convert;

import com.cyl.manager.oms.domain.entity.OrderOperateHistory;
import com.cyl.manager.oms.domain.vo.OrderOperateHistoryVO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;
import org.mapstruct.ReportingPolicy;

import java.util.List;

/**
 * 订单操作历史记录  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE, componentModel = MappingConstants.ComponentModel.SPRING)
public interface OrderOperateHistoryConvert {

    List<OrderOperateHistoryVO> dos2vos(List<OrderOperateHistory> list);
}
